import { createPinia } from 'pinia'
import piniaPersist from 'pinia-plugin-persistedstate'
const pinia = createPinia() //pinia对象
pinia.use(piniaPersist) //pinia对象使用持久化
export default pinia

// import useUserStore from './modules/user'
// export { useUserStore }
export * from './modules/user'
